package com.inforich.common.core.controller;

import cn.hutool.core.bean.BeanUtil;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @description: 移动端基础控制器
 * @author: HJM
 * @date: 2022/10/28
 */
public class AppBaseController {

  protected final Logger logger = LoggerFactory.getLogger(this.getClass());

  public Map<String, Object> beanToMap(Object bean) {
    return BeanUtil.beanToMap(bean);
  }

}
